package top.ljlgithub.api.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import top.ljlgithub.api.bean.Attr;

import java.util.List;

@Mapper
@Component
public interface AttrMapper {
    List<Attr> getAttrList(Integer id, String sel);
    void addAttr(Attr attr);
    void deleteAttr(Integer id,Integer attrid);
    Attr findAttrById(Integer id,Integer attrid);
    void updateAttr(Attr attr);
}
